﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Example.aspx.cs" Inherits="DreamCube.Websites.UI.Common.JQ.Controls.Label.Example" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <DC:JQControlsCSS ID="JQControlsCSS1" runat="server" />
    <div>
        <span>这里显示一个Label：</span><span id="span_label1"></span><br />
        <span>这里显示一个可移动的Label：</span><span id="span_label2"></span><br />
    </div>
    <DC:MyJS runat="server" />
    <DC:JQJS ID="JQJS1" runat="server" />
    <DC:JQControlsJS ID="JQControlsJS1" runat="server" />
    </form>
</body>
</html>
<script type="text/javascript">
    $(document).ready(function () {
        var label1 = new Label();
        var label2 = new Label({ moveEnable: true });
        label1.appendTo('span_label1');
        label2.appendTo('span_label2');
    });

</script>